// import xc from "./framework/index";

import DisplayEx from "./framework/extend/displayex";
import StagerMgr from "./framework/inc/stagemgr";
// import zh_cn from "./configs/zh_cn";


export default class GameMain {
    static launch() {
        //release config  
        GameMain.chkReleaseConfig();
        // init short cocos2d api
        DisplayEx.init();
        // init lan 
        // xc.Lan.setLan(zh_cn);
        // show the scene 
        // StagerMgr.getInstance().showScene();
        // StagerMgr.getInstance().showEditorScene("res/scene_load.json");
        StagerMgr.getInstance().shwoFullScene("res/scene_load.json");
    }

    //检查游戏配置
    static chkReleaseConfig() {
        //showfps 
        // cc.director.setDisplayStats(true)

    }
}

